.class public Lcom/xingbook/group/activity/GroupMainAct;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;
.implements Lcom/xingbook/group/adapter/q;


# instance fields
.field a:Lcom/fortysevendeg/swipelistview/BaseSwipeListViewListener;

.field private b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

.field private c:Lcom/fortysevendeg/swipelistview/SwipeListView;

.field private d:Landroid/widget/LinearLayout;

.field private e:Landroid/widget/TextView;

.field private f:Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;

.field private g:Lcom/xingbook/group/adapter/l;

.field private h:Lcom/xingbook/ui/ae;

.field private i:Landroid/widget/RelativeLayout;

.field private l:Ljava/util/ArrayList;

.field private m:Ljava/util/ArrayList;

.field private n:Landroid/app/ProgressDialog;

.field private o:Z

.field private p:Lcom/xingbook/ui/af;

.field private q:Lcom/xingbook/group/activity/y;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->o:Z

    new-instance v0, Lcom/xingbook/group/activity/y;

    invoke-direct {v0, p0}, Lcom/xingbook/group/activity/y;-><init>(Lcom/xingbook/group/activity/GroupMainAct;)V

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->q:Lcom/xingbook/group/activity/y;

    new-instance v0, Lcom/xingbook/group/activity/s;

    invoke-direct {v0, p0}, Lcom/xingbook/group/activity/s;-><init>(Lcom/xingbook/group/activity/GroupMainAct;)V

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->a:Lcom/fortysevendeg/swipelistview/BaseSwipeListViewListener;

    return-void
.end method

.method private a(Landroid/app/Activity;)Landroid/view/View;
    .locals 13

    const/16 v12, 0x27d9

    const/16 v11, 0xf

    const/4 v10, -0x1

    const/4 v9, -0x2

    const/4 v8, 0x0

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {p1}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    new-instance v6, Landroid/widget/RelativeLayout;

    invoke-direct {v6, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v2, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    invoke-direct {v2, v0}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    invoke-virtual {v2, v12}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;->setId(I)V

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v4, 0x43be

    invoke-static {p1}, Lcom/xingbook/c/n;->f(Landroid/app/Activity;)F

    move-result v5

    mul-float/2addr v4, v5

    float-to-int v4, v4

    invoke-direct {v3, v10, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v3}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    invoke-virtual {v6, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    const/high16 v2, 0x4150

    mul-float/2addr v2, v1

    float-to-int v2, v2

    new-instance v3, Landroid/widget/RelativeLayout;

    invoke-direct {v3, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/high16 v4, 0x4d00

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v4, v10, v9}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    div-int/lit8 v5, v2, 0x2

    div-int/lit8 v7, v2, 0x2

    invoke-virtual {v3, v2, v5, v2, v7}, Landroid/widget/RelativeLayout;->setPadding(IIII)V

    const/16 v5, 0x8

    invoke-virtual {v4, v5, v12}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v6, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/LinearLayout;

    invoke-direct {v4, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/group/activity/GroupMainAct;->d:Landroid/widget/LinearLayout;

    iget-object v4, p0, Lcom/xingbook/group/activity/GroupMainAct;->d:Landroid/widget/LinearLayout;

    const/16 v5, 0x27da

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->setId(I)V

    iget-object v4, p0, Lcom/xingbook/group/activity/GroupMainAct;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v8}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v4, p0, Lcom/xingbook/group/activity/GroupMainAct;->d:Landroid/widget/LinearLayout;

    const/16 v5, 0x15

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->setGravity(I)V

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v4, v9, v9}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v4, v11}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v5, 0xb

    invoke-virtual {v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v5, p0, Lcom/xingbook/group/activity/GroupMainAct;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v4}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/group/activity/GroupMainAct;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/TextView;

    invoke-direct {v4, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/group/activity/GroupMainAct;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v10}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->e:Landroid/widget/TextView;

    const/high16 v4, 0x4200

    mul-float/2addr v1, v4

    invoke-virtual {v0, v8, v1}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->e:Landroid/widget/TextView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setSingleLine(Z)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->e:Landroid/widget/TextView;

    sget-object v1, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->e:Landroid/widget/TextView;

    mul-int/lit8 v1, v2, 0x5

    invoke-virtual {v0, v8, v8, v1, v8}, Landroid/widget/TextView;->setPadding(IIII)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v9, v9}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v11}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v1, 0x9

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v1, 0x27da

    invoke-virtual {v0, v8, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-static {p1}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iget-object v1, p0, Lcom/xingbook/group/activity/GroupMainAct;->e:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->e:Landroid/widget/TextView;

    invoke-virtual {v3, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;

    const/4 v2, 0x0

    iget-object v4, p0, Lcom/xingbook/group/activity/GroupMainAct;->d:Landroid/widget/LinearLayout;

    iget-object v5, p0, Lcom/xingbook/group/activity/GroupMainAct;->e:Landroid/widget/TextView;

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;-><init>(Landroid/app/Activity;Ljava/util/List;Landroid/widget/RelativeLayout;Landroid/widget/LinearLayout;Landroid/widget/TextView;)V

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->f:Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    const-wide/16 v1, 0x1b58

    invoke-virtual {v0, v1, v2}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;->setInterval(J)V

    return-object v6
.end method

.method static synthetic a(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/group/activity/y;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->q:Lcom/xingbook/group/activity/y;

    return-object v0
.end method

.method private a(I)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->q:Lcom/xingbook/group/activity/y;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/group/activity/y;->sendEmptyMessage(I)Z

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/group/activity/w;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/group/activity/w;-><init>(Lcom/xingbook/group/activity/GroupMainAct;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/group/activity/GroupMainAct;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/group/activity/GroupMainAct;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/group/activity/GroupMainAct;Lcom/xingbook/group/a/b;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/group/activity/GroupMainAct;->b(Lcom/xingbook/group/a/b;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/group/activity/GroupMainAct;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/group/activity/GroupMainAct;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/group/activity/GroupMainAct;Ljava/lang/String;Z)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/group/activity/GroupMainAct;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    const v1, 0x7f0a01a8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    const v1, 0x7f0a01a9

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method private a(Ljava/lang/String;Z)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    if-nez v0, :cond_0

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p2}, Landroid/app/ProgressDialog;->setIndeterminate(Z)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :cond_1
    return-void
.end method

.method static synthetic b(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/fortysevendeg/swipelistview/SwipeListView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    return-object v0
.end method

.method private b(Lcom/xingbook/group/a/b;)V
    .locals 5

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz p1, :cond_0

    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_2
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_5

    move v0, v2

    :goto_1
    if-nez v0, :cond_3

    iput-boolean v1, p1, Lcom/xingbook/group/a/b;->f:Z

    invoke-static {p1, v2}, Lcom/xingbook/group/helper/a;->a(Lcom/xingbook/group/a/b;Z)V

    :cond_3
    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->l:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_4
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_6

    move-object v0, v1

    :goto_2
    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/activity/GroupMainAct;->l:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_5
    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/a/b;

    iget-object v4, p1, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    iget-object v0, v0, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    move v0, v1

    goto :goto_1

    :cond_6
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/a/b;

    iget-object v3, p1, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    iget-object v4, v0, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_4

    goto :goto_2
.end method

.method static synthetic b(Lcom/xingbook/group/activity/GroupMainAct;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/group/activity/GroupMainAct;->b(Ljava/lang/String;)V

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 4

    const/4 v1, 0x0

    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_3

    move-object v0, v1

    :goto_0
    if-eqz v0, :cond_2

    iget-object v1, p0, Lcom/xingbook/group/activity/GroupMainAct;->l:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    const/4 v2, 0x5

    if-ge v1, v2, :cond_1

    const/4 v1, 0x0

    iput-boolean v1, v0, Lcom/xingbook/group/a/b;->f:Z

    iget-object v1, p0, Lcom/xingbook/group/activity/GroupMainAct;->l:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_1
    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    :cond_2
    return-void

    :cond_3
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/a/b;

    iget-object v3, v0, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    invoke-virtual {p1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    goto :goto_0
.end method

.method static synthetic c(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/group/adapter/l;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->g:Lcom/xingbook/group/adapter/l;

    return-object v0
.end method

.method static synthetic d(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/ui/ae;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->h:Lcom/xingbook/ui/ae;

    return-object v0
.end method

.method private d()V
    .locals 5

    const/4 v0, 0x1

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->m:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lez v2, :cond_0

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->f:Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;

    iget-object v3, p0, Lcom/xingbook/group/activity/GroupMainAct;->m:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->setData(Ljava/util/ArrayList;)V

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->f:Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;

    iget-object v3, p0, Lcom/xingbook/group/activity/GroupMainAct;->m:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-le v3, v0, :cond_1

    :goto_0
    invoke-virtual {v2, v0}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->setInfiniteLoop(Z)Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->f:Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;

    invoke-virtual {v0, v2}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->f:Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;

    invoke-virtual {v0, v2}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    invoke-virtual {v0}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;->startAutoScroll()V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->g:Lcom/xingbook/group/adapter/l;

    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/group/activity/GroupMainAct;->l:Ljava/util/ArrayList;

    iget-object v4, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    invoke-virtual {v0, v2, v3, v4}, Lcom/xingbook/group/adapter/l;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Landroid/widget/ListView;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->g:Lcom/xingbook/group/adapter/l;

    invoke-virtual {v0, v2}, Lcom/fortysevendeg/swipelistview/SwipeListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    invoke-virtual {v0, v1}, Lcom/fortysevendeg/swipelistview/SwipeListView;->setVisibility(I)V

    return-void

    :cond_1
    move v0, v1

    goto :goto_0
.end method

.method static synthetic e(Lcom/xingbook/group/activity/GroupMainAct;)Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/group/activity/GroupMainAct;)Landroid/widget/RelativeLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    return-object v0
.end method

.method static synthetic g(Lcom/xingbook/group/activity/GroupMainAct;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/group/activity/GroupMainAct;->d()V

    return-void
.end method

.method static synthetic h(Lcom/xingbook/group/activity/GroupMainAct;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->l:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic i(Lcom/xingbook/group/activity/GroupMainAct;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->m:Ljava/util/ArrayList;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->q:Lcom/xingbook/group/activity/y;

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Lcom/xingbook/group/activity/y;->sendEmptyMessage(I)Z

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/group/activity/GroupListActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/group/activity/GroupMainAct;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method public a(Lcom/xingbook/group/a/b;)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->q:Lcom/xingbook/group/activity/y;

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Lcom/xingbook/group/activity/y;->sendEmptyMessage(I)Z

    iget-boolean v0, p1, Lcom/xingbook/group/a/b;->f:Z

    if-nez v0, :cond_0

    invoke-static {}, Lcom/xingbook/group/b/d;->a()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->p:Lcom/xingbook/ui/af;

    const-string v1, "\u60a8\u8fd8\u6ca1\u6709\u767b\u5f55\uff01"

    invoke-virtual {v0, p0, v1}, Lcom/xingbook/ui/af;->a(Landroid/app/Activity;Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    iget-boolean v0, p1, Lcom/xingbook/group/a/b;->f:Z

    if-eqz v0, :cond_1

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u6b63\u5728\u9000\u51fa:"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p1, Lcom/xingbook/group/a/b;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_1
    iget-object v1, p0, Lcom/xingbook/group/activity/GroupMainAct;->q:Lcom/xingbook/group/activity/y;

    const/16 v2, 0x9

    invoke-virtual {v1, v2, v0}, Lcom/xingbook/group/activity/y;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/group/activity/x;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/group/activity/x;-><init>(Lcom/xingbook/group/activity/GroupMainAct;Lcom/xingbook/group/a/b;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0

    :cond_1
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u6b63\u5728\u52a0\u5165:"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p1, Lcom/xingbook/group/a/b;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_1
.end method

.method public b()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->q:Lcom/xingbook/group/activity/y;

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Lcom/xingbook/group/activity/y;->sendEmptyMessage(I)Z

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/group/activity/GroupMyTopicMainActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/group/activity/GroupMainAct;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method c()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->n:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method

.method public e()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u5708\u5b50-\u9996\u9875"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 9

    const v8, 0x7f0a0019

    const/4 v4, 0x1

    const/4 v6, -0x1

    const/4 v7, 0x0

    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-direct {v1, p0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1, v6}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    new-instance v3, Lcom/xingbook/group/activity/t;

    invoke-direct {v3, p0}, Lcom/xingbook/group/activity/t;-><init>(Lcom/xingbook/group/activity/GroupMainAct;)V

    move-object v0, p0

    move v5, v4

    invoke-static/range {v0 .. v5}, Lcom/xingbook/park/ui/l;->a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLcom/xingbook/park/ui/n;ZZ)Lcom/xingbook/park/ui/l;

    move-result-object v0

    const-string v2, "\u5708\u5b50"

    invoke-virtual {v0, v2}, Lcom/xingbook/park/ui/l;->setTitle(Ljava/lang/String;)V

    invoke-virtual {v0, v8}, Lcom/xingbook/park/ui/l;->setId(I)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->l:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->m:Ljava/util/ArrayList;

    const v0, 0x7f03002d

    const/4 v2, 0x0

    invoke-static {p0, v0, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v6, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/4 v2, 0x3

    invoke-virtual {v0, v2, v8}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, v0}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    const v2, 0x7f0a01a5

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/fortysevendeg/swipelistview/SwipeListView;

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    invoke-virtual {v0, v7}, Lcom/fortysevendeg/swipelistview/SwipeListView;->setFocusable(Z)V

    new-instance v0, Lcom/xingbook/group/adapter/l;

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    invoke-direct {v0, p0, p0, v2}, Lcom/xingbook/group/adapter/l;-><init>(Landroid/app/Activity;Lcom/xingbook/group/adapter/q;Lcom/fortysevendeg/swipelistview/SwipeListView;)V

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->g:Lcom/xingbook/group/adapter/l;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    invoke-direct {p0, p0}, Lcom/xingbook/group/activity/GroupMainAct;->a(Landroid/app/Activity;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/fortysevendeg/swipelistview/SwipeListView;->addHeaderView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    const/4 v2, 0x4

    invoke-virtual {v0, v2}, Lcom/fortysevendeg/swipelistview/SwipeListView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->a:Lcom/fortysevendeg/swipelistview/BaseSwipeListViewListener;

    invoke-virtual {v0, v2}, Lcom/fortysevendeg/swipelistview/SwipeListView;->setSwipeListViewListener(Lcom/fortysevendeg/swipelistview/SwipeListViewListener;)V

    new-instance v0, Ljava/lang/Thread;

    new-instance v2, Lcom/xingbook/group/activity/u;

    invoke-direct {v2, p0}, Lcom/xingbook/group/activity/u;-><init>(Lcom/xingbook/group/activity/GroupMainAct;)V

    invoke-direct {v0, v2}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    const v2, 0x7f0a01a8

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v2, Lcom/xingbook/group/activity/v;

    invoke-direct {v2, p0}, Lcom/xingbook/group/activity/v;-><init>(Lcom/xingbook/group/activity/GroupMainAct;)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    invoke-static {v0, p0}, Lcom/xingbook/ui/ae;->a(Landroid/widget/RelativeLayout;Landroid/app/Activity;)Lcom/xingbook/ui/ae;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->h:Lcom/xingbook/ui/ae;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    move-object v0, p0

    move v3, v7

    move v4, v7

    move v5, v7

    move v6, v7

    invoke-static/range {v0 .. v6}, Lcom/xingbook/park/ui/a;->a(Landroid/content/Context;Landroid/widget/RelativeLayout;FIIII)Lcom/xingbook/park/ui/a;

    invoke-virtual {p0, v1}, Lcom/xingbook/group/activity/GroupMainAct;->setContentView(Landroid/view/View;)V

    const/16 v0, 0x96

    invoke-direct {p0, v0}, Lcom/xingbook/group/activity/GroupMainAct;->a(I)V

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    return-void
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->q:Lcom/xingbook/group/activity/y;

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Lcom/xingbook/group/activity/y;->sendEmptyMessage(I)Z

    return-void
.end method

.method public onPause()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    invoke-virtual {v0}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;->stopAutoScroll()V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/group/activity/GroupMainAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method public onResume()V
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    invoke-static {v0, p0}, Lcom/xingbook/ui/af;->a(Landroid/view/ViewGroup;Landroid/app/Activity;)Lcom/xingbook/ui/af;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->p:Lcom/xingbook/ui/af;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->i:Landroid/widget/RelativeLayout;

    invoke-static {v0, p0}, Lcom/xingbook/ui/ae;->a(Landroid/widget/RelativeLayout;Landroid/app/Activity;)Lcom/xingbook/ui/ae;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->h:Lcom/xingbook/ui/ae;

    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->b:Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    invoke-virtual {v0}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;->startAutoScroll()V

    iget-boolean v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->o:Z

    if-eqz v0, :cond_0

    iput-boolean v1, p0, Lcom/xingbook/group/activity/GroupMainAct;->o:Z

    sput-boolean v1, Lcom/xingbook/group/helper/a;->a:Z

    :goto_0
    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/group/activity/GroupMainAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    return-void

    :cond_0
    sget-boolean v0, Lcom/xingbook/group/helper/a;->a:Z

    if-eqz v0, :cond_1

    sput-boolean v1, Lcom/xingbook/group/helper/a;->a:Z

    invoke-direct {p0, v1}, Lcom/xingbook/group/activity/GroupMainAct;->a(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/activity/GroupMainAct;->g:Lcom/xingbook/group/adapter/l;

    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/group/activity/GroupMainAct;->l:Ljava/util/ArrayList;

    iget-object v3, p0, Lcom/xingbook/group/activity/GroupMainAct;->c:Lcom/fortysevendeg/swipelistview/SwipeListView;

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/group/adapter/l;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Landroid/widget/ListView;)V

    goto :goto_0
.end method
